{extend name="common/application" /}
{block name="title"}<title id="title">店铺中心</title>{/block}
{block name="css"}
<link rel="stylesheet" type="text/css" href="_CSS_/reset.css">
<link rel="stylesheet" type="text/css" href="_CSS_/common.css">
<link rel="stylesheet" type="text/css" href="_CSS_/help.css"/>
<link rel="stylesheet" type="text/css" href="_CSS_/store_center.css"/>
<!--[if lt IE 9]>
<script src="http://www.ijquery.cn/js/html5shiv.js"></script>
<![endif]-->
<style>
.store-info .store-logo img{border-radius:0;}
.red{color:red}
</style>
{/block}


{block name="content"}
			<!-- 主体内容 -->
			<div class="main">
				<div class="mainBody normalBox clearfix" style="padding-bottom: 80px;">
					<div class="error-msg" style="height: 643px;background: #ffffff;text-align: center;font-size: 16px;">
						<img src="_IMG_/img_error.png" style="margin-top: 140px;margin-bottom: 18px;">
						<p style="position: relative;height:20px;line-height:20px;width: 650px;margin: 0 auto;text-align: center;margin-bottom: 18px;color: #f9060a; vertical-align:middle;">您的店铺已被禁用!</p>
						 <p style="margin-bottom: 18px;">禁用原因：<span id="error"></span></p>
						 <p>您有任何疑问可拨打电话<span style="color: #366bb3;">027-87530959</span>，或发送邮件至<span style="color: #366bb3;">info@opticsipr.com</span></p>
					</div>
				</div>
			</div>
{/block}
{block name="js"}
<!-- 脚本引入 -->
<script src="_P_/layer/layer.js"></script>
<script>
    $(document).ready(function () {
        $('.li0').addClass('showChild');
        $('.li00').addClass('activeMenu');
    });
    $(function () {
        var userinfo = $.cookie('userinfo');
        if (userinfo != null) {
            var user_login = $.base64.decode(userinfo).split(",");
            $.ajax({
                type: "get",
                url: "{:url('api/shop/get_open7')}",
                data: {'uid': user_login[0]},
                dataType: 'jsonp',
                success: function (msg) {
					if(msg.code == 1001){
						window.location.href = "{:url('index/store/index')}";
					}
					
					if(msg.code == 1000){
						layer.msg(msg.message, {icon: 5, time: 5000});
					}
					
                    if(msg.data.result != ''){
						$("#error").html(msg.data.result);
						$("#error").addClass('red');
					}else{
						$("#error").html("管理员暂无说明，请尝试利用下面的方式联系管理员");
						$("#error").addClass('red');
					}
                    
                }
            })
        } else {
            window.location.href = "{:url('index/login/index')}";
        }
    })
</script>
{/block}